const accountInfo = wx.getAccountInfoSync();
// env类型 develop:开发版、trial:体验版、release:正式版
export const env = accountInfo.miniProgram.envVersion;

if(!env){
  console.error("获取运行环境失败!");
}else{
	console.log("当前服务为"+env)
}
// https://wycapi.jinckji.com/
// https://wycapi-xyz.jinckji.com/
const baseApi = {
  
  develop1: "https://wycapi-xyz.jinckji.com",

  trial1: "https://wycapi-xyz.jinckji.com",

  release1: "https://wycapi.jinckji.com",
};

//请求域名
export const baseUrl = baseApi[env+'1'] || "https://wycapi.jinckji.com";

export const appId = 'wxc635cc0b86a4fd90'
